﻿@model SuperiorModel.AdminHomeModel
@{
    Layout = null;
}

<html>
<head>
    <meta charset="utf-8">
    <title>layuiAdmin 控制台主页一</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <script src="~/scripts/jquery-1.10.2.js"></script>
    <script src="~/scripts/Common/Base.js"></script>
    <script src="~/scripts/Common/RequestManager.js"></script>
    <script src="~/scripts/Common/ToolManager.js"></script>
    <script src="~/scripts/layer/layer.js"></script>
    <script src="~/layui/layui.js"></script>
    <link href="~/layui/css/layui.css" rel="stylesheet" />
    <link href="~/Content/admin.css" rel="stylesheet" />
    <script src="~/scripts/echarts/echarts.min.js"></script>


</head>
<body layadmin-themealias="default">

    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-row layui-col-space15">

                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header">数据统计</div>
                            <div class="layui-card-body">

                                <div class="layui-carousel layadmin-carousel layadmin-backlog" lay-anim="" lay-indicator="inside" lay-arrow="none" style="width: 100%; height: 262px;">
                                    <div carousel-item="">
                                        <ul class="layui-row layui-col-space10 layui-this">
                                            <li class="layui-col-xs3">
                                                <a lay-href="app/content/comment.html" class="layadmin-backlog-body">
                                                    <h3>商户商品总量</h3>
                                                    <p><cite>@Model.TotalProductCount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="app/forum/list.html" class="layadmin-backlog-body">
                                                    <h3>商户用户总量</h3>
                                                    <p><cite>@Model.TotalUserCount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a lay-href="template/goodslist.html" class="layadmin-backlog-body">
                                                    <h3>商户订单总量</h3>
                                                    <p><cite>@Model.TotalOrderCount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>商户总销售额</h3>
                                                    <p><cite>@Model.TotalOrderAmount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>商户注册总量</h3>
                                                    <p><cite>@Model.TotalShopAdminCount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>付费商户总量(包含过期)</h3>
                                                    <p><cite>@Model.TotalPayShopAdminCount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>使用中商户总量(h5和小程序有一样就算)</h3>
                                                    <p><cite>@Model.UsingShopAdminCount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>使用中小程序总量</h3>
                                                    <p><cite>@Model.UsingProgramCount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>使用中H5总量</h3>
                                                    <p><cite>@Model.UsingH5Count</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>H5总付费金额</h3>
                                                    <p><cite>@Model.TotalH5PayAmount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>小程序总付费金额</h3>
                                                    <p><cite>@Model.TotalProgramPayAmount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs3">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>商户付费总额</h3>
                                                    <p><cite>@Model.TotalPayAmount</cite></p>
                                                </a>
                                            </li>
                                        </ul>

                                    </div>
                                    <div class="layui-carousel-ind">
                                    </div>

                                </div>
                            </div>
                        </div>
                    </div>


                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header">商户近7日用户增长量</div>
                            <div class="layui-card-body">

                                <div id="addUserCountChart" style="width:500px;height:320px;"></div>

                            </div>
                        </div>

                    </div>
                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header">商户小程序/H5用户量对比</div>
                            <div class="layui-card-body">

                                <div id="typeUserCountChart" style="width:500px;height:320px;"></div>

                            </div>
                        </div>

                    </div>
                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header">商户近7日销售额</div>
                            <div class="layui-card-body">

                                <div id="sallPriceChart" style="width:500px;height:320px;"></div>

                            </div>
                        </div>

                    </div>
                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header">商户近7日销售量</div>
                            <div class="layui-card-body">

                                <div id="sallCountChart" style="width:500px;height:320px;"></div>

                            </div>
                        </div>

                    </div>
                    
                </div>
            </div>

            @*<div class="layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header">待处理事项</div>
                    <div class="layui-card-body layui-text">
                        <table class="layui-table">
                            <colgroup>
                                <col width="100">
                                <col>
                            </colgroup>
                            <tbody>
                                <tr>
                                    <td>注册shang'hu</td>
                                    <td>
                                        <span style="color:crimson">33单</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>待售后</td>
                                    <td>
                                        <span style="color:crimson">22单</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>待售后</td>
                                    <td>
                                        <span style="color:crimson">22单</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>待售后</td>
                                    <td>
                                        <span style="color:crimson">22单</span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
              

            </div>*@
        </div>
    </div>
</body>
</html>
<script src="~/scripts/Home/Index.js"></script>
<script>
    IndexClass.Instance.Init();
</script>